package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "purchase")
public class Purchase {
    @TableId(type = IdType.INPUT )

    private Integer pid;
private Integer            gid;
private Integer    number;
private String            money;
private String    price;
private Date pdate;

}
